package top.jbxie.raft.service;

import java.net.UnknownHostException;

public interface IPService {

    String getSelfIp() throws UnknownHostException;

    String[] getIpList(Long clusterId, String appName);
}
